package com.itcast.springboot.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author 郭泽鹏
 * @Date 2020/8/25 9:26
 * @Version 1.0
 * @Description 评价操作需要接收的参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="Evaluate对象", description="用户评价需要接收的参数")
public class EvaluateReq implements Serializable {
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "订单的服务评论，订单结束时用户添加的,1-5分别代表1-5颗星")
    private Integer order_service_evaluation;

    @ApiModelProperty(value = "订单的态度评论，订单结束时用户添加的,1-5分别代表1-5颗星")
    private Integer order_attitude_evaluation;
}
